package org.xq.shop.maxaishop.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.xq.shop.maxaishop.entity.XqCustomer;

@FeignClient(value = "maxai-system")
public interface XqCustomerFeign {
    /**
     * 查询单个消费者
     * @param id 消费者ID
     * @return
     */
    @GetMapping("/xqCustomer/selectOne")
    public XqCustomer selectOne(@RequestParam("id") Long id);
}
